<?php

class DefautAdmin{
	public function __construct(){
		// echo "ta aqui.".UserClient::getTypeId();exit();
		if(!UserClient::isAlive() || UserClient::getTypeId() != Config::ADMIN_USER_TYPE_ID){
			Navigation::redirect("admin/login");
		}
	}
}

?>